// const WX_API_BASE = 'http://47.96.155.122:8088'
// const API_BASE = 'http://192.168.1.4:9001'
const API_BASE = 'http://test.vsbook.cn'


module.exports = {
	Api: API_BASE, 	//WebSocket
	upload: API_BASE + '/customer/upload/add',//上传文件
	manual: API_BASE + '/auth/manual',//用户手册和协议
	getCode: API_BASE + '/auth/getCode',//获取验证码
	login: API_BASE + '/auth/login',//登录
	sendSmsCode: API_BASE + '/app-api/client/auth/send-sms-code',//发送手机验证码
	smsLogin: API_BASE + '/app-api/client/auth/sms-login',//使用短信验证码登录
	jhRealName: API_BASE + '/app-api/client/real-name/jhRealName',//校验是否已实名
	queryAccountBalance: API_BASE + '/app-api/client/balance/queryAccountBalance',//查询账户余额信息
	queryAccountStatement: API_BASE + '/app-api/client/balance/queryAccountStatement',//查询账户流水信息列表
	queryAuth: API_BASE + '/app-api/client/auth/queryAuth',//设备号获取用户信息
	jhQueryFlowSn: API_BASE + '/app-api/client/internet-traffic/jhQueryFlowSn',//查询每日流量用量
	jhFlowMeasure: API_BASE + '/app-api/client/internet-traffic/jhFlowMeasure',//查询套餐流量使用情况
	jhUpdate: API_BASE + '/app-api/client/wifi/jhUpdate',//修改wifi名称和密码
	jhChangeNetwork: API_BASE + '/app-api/client/wifi/jhChangeNetwork',//设备切换网络
	jhSendCmd: API_BASE + '/app-api/client/wifi/jhSendCmd',//下发操作指令
	jhLockNetwork: API_BASE + '/app-api/client/wifi/jhLockNetwork',//设备智能锁网开关设置
	jhQuickNetStatus: API_BASE + '/app-api/client/wifi/jhQuickNetStatus',//设备极速上网开关设置
	jhHide: API_BASE + '/app-api/client/wifi/jhHide',//隐藏WIFI功能
	jhLockNetwork: API_BASE + '/app-api/client/wifi/jhLimitSpeed',//设备限速
	jhCloseLimitSpeed: API_BASE + '/app-api/client/wifi/jhCloseLimitSpeed',//关闭设备限速
	jhBoo: API_BASE + '/app-api/client/wifi/jhBoo',//设备禁用
	
	jhFindCurrentStatus: API_BASE + '/app-api/client/device/jhFindCurrentStatus',//查询设备实时状态
	qrconnect: API_BASE + '/connect/qrconnect',//获取code
	queryOpenid: API_BASE + '/app-api/client/auth/queryOpenid',//微信支付前查询用户标识【openid】
	payJsapi: API_BASE + '/app-api/wechat/pay-jsapi',//调用JSAPI支付
	thaliDevice: API_BASE + '/app-api/client/thali/device',//查询设备套餐信息列表
	thaliWallet: API_BASE + '/app-api/client/thali/wallet',//钱包充值套餐信息列表
	
	
	sendSmsCodeIot: API_BASE + '/app-api/client/auth/send-sms-code-iot',//物联网卡-发送手机验证码
	loginIot: API_BASE + '/app-api/client/auth/sms-login-iot',//物联网卡-使用短信验证码登录
	
	queryAuthIot: API_BASE + '/app-api/client/auth/queryAuthIot',//物联网卡-卡号获取用户信息
	queryAuthotIot: API_BASE + '/app-api/client/auth/sms-login-iot',//物联网卡-卡号获取用户信息
	thaliDeviceIot: API_BASE + '/app-api/client/thali/iot-car',//物联网卡 - 充值套餐信息列表
	 
	
	
	
	// uni.showToast({
	// 	duration: 1000,
	// 	title:res.data.msg,
	// 	icon: 'none',
	// })
	// setTimeout(() => {
	// 	uni.navigateBack({
	// 		delta: 1
	// 	});
	// }, 1000)
	// onReachBottom(){
	// 	console.log('触底')
	// },
	// this.$REQ(this.$api.chooseUserType, {
	// }, 'POST').then(res => {
	// 	console.log(res)
	// }).catch(err => {
	// 	console.log(err)
	// })
}